home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presentation Library 1993 Winter / The Apple Reference & Presentations Library CD Winter 93 - Partner Edition.7z / Image.iso / Applications / Technical Publishing / Aldus PageMaker 4.2 / Aldus / APDs / Personal LaserWriter NT.apd < prev    next >
Text File  |  1991-04-15  |  9KB  |  240 lines

  1. @Comment: "Personal LaserWriter NT.apd" for Apple LaserWriter NT printer.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.0  $
  4. @Comment:     $Date:   15 Apr 1991 10:35:25  $
  5. @Comment: This APD produced for use with Aldus PageMaker 4.0 or earlier version.
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(LaserWriter Personal NT)"
  10. @PSVersion: "(51.8)"
  11. @PSRevision: "0"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file, to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "414236"
  21. @WorkingMem: "25000"
  22. @AldusHeaderMem: "34000"
  23. @Comment: Example of declaration of a downloadable font's memory requirement:
  24. @Comment: @FontMem "Benjo-Light": "82600"
  25.  
  26. @Comment: If 11 or more saves, VM query makes memory look full, PM will flush fonts.
  27. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  28. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  29. @End
  30.  
  31. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  32. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  33. @AldusPatchFile: ""
  34. @ExitServer: "serverdict begin exitserver "
  35. @Password: "0"
  36.  
  37. @DefaultScreenFreq: "60"
  38. @DefaultScreenAngle: "45"
  39. @DefaultScreenProc: "{abs exch abs 2 copy add 1 gt
  40. {1 sub dup mul exch 1 sub dup mul add 1 sub}
  41. {dup mul exch dup mul add 1 exch sub} ifelse}"
  42. @End
  43.  
  44. @ScreenFreq: ""
  45. @ScreenAngle: ""
  46. @ScreenProc: ""
  47.  
  48. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  49. @Transfer: ""
  50. @InvertTransfer: "{1 exch sub}"
  51.  
  52. @NormalizedTransfer: "{
  53. mark
  54. 1.0 1.0 .98 .86 .76 .64 .54 .45 .36 .24 .11 .0
  55. counttomark dup 3 add -1 roll exch
  56. 2 sub mul dup floor cvi
  57. dup 3 1 roll sub
  58. exch dup 
  59. 3 add index exch 2 add index dup
  60. 4 1 roll
  61. sub mul add
  62. counttomark 1 add 1 roll 
  63. cleartomark
  64. } bind"
  65. @End
  66.  
  67. @InvertNormalizedTransfer: "{
  68. mark
  69. .0 .0 .11 .24 .36 .45 .54 .64 .76 .86 .98 1.0
  70. counttomark dup 3 add -1 roll exch
  71. 2 sub mul dup floor cvi
  72. dup 3 1 roll sub
  73. exch dup 
  74. 3 add index exch 2 add index dup
  75. 4 1 roll
  76. sub mul add
  77. counttomark 1 add 1 roll 
  78. cleartomark
  79. } bind"
  80. @End
  81.  
  82. @Comment: Paper tray query compares returned value with selected PageSize,
  83. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  84. @?PaperTray: "
  85.  save statusdict begin
  86.   4 dict begin
  87.    /lettertray (Letter) def /legaltray (Legal) def
  88.    /a4tray (A4) def  /b5tray (B5) def
  89.    papersize {
  90.      {load exec} stopped not{= flush}if
  91.    }{
  92.      {load exec} stopped not{print (.Transverse) = flush}
  93.      {(Unknown) = flush}ifelse
  94.    }ifelse
  95.   end
  96.  end restore
  97. "
  98. @End
  99.  
  100. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  101. @DefaultPageSize:        "Letter"
  102. @PageSize Letter:        "letter"
  103. @PageSize Lettersmall:    "lettersmall"
  104. @PageSize A4:            "a4"
  105. @PageSize A4small:        "a4small"
  106. @PageSize B5:            "b5"
  107. @PageSize Legal:        "legal"
  108. @PageSize EnvelopeCom10: "letter 0 108 translate"
  109.  
  110. @Comment: Use the "@?PaperTray" query instead of "_tray" commands to verify correct tray.
  111.  
  112. @Comment: PageRegion gives the printable area of each paper option.
  113. @PageRegion Letter:         "14.16 12 597.84 780"
  114. @PageRegion Lettersmall:     "29.52 30.24 582.48 761.76"
  115. @PageRegion A4:         "17.28 21.96 578.16 819.72"
  116. @PageRegion A4small:     "28.80 30.24 566.64 811.44"
  117. @PageRegion B5:         "17.28 2.88 481.68 705.60"
  118. @PageRegion Legal:         "18 7.92 594 1000.08"
  119. @PageRegion EnvelopeCom10:    "14.16 12 282.84 672"
  120.  
  121. @Comment: PaperDimension gives the total paper size of each option.
  122. @PaperDimension Letter:         "612 792"
  123. @PaperDimension Lettersmall:     "612 792"
  124. @PaperDimension A4:             "595.28 841.89"
  125. @PaperDimension A4small:         "595.28 841.89"
  126. @PaperDimension B5:             "498.90 708.66"
  127. @PaperDimension Legal:             "612 1008"
  128. @PaperDimension EnvelopeCom10:    "297 684"
  129.  
  130. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  131. @DefaultOutputOrder: "facedown"
  132.  
  133. @ManualFeed true: "statusdict begin /manualfeed true def end"
  134. @ManualFeed false: "statusdict begin /manualfeed false def end"
  135.  
  136. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  137. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  138.  
  139. @DefaultFont: "Courier"
  140. @Font "Times-Roman": "Standard" "(001.000)"
  141. @Font "Times-Bold": "Standard" "(001.000)"
  142. @Font "Times-Italic": "Standard" "(001.000)"
  143. @Font "Times-BoldItalic": "Standard" "(001.000)"
  144. @Font "Helvetica": "Standard" "(001.000)"
  145. @Font "Helvetica-Bold": "Standard" "(001.000)"
  146. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  147. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  148. @Font "Courier": "Standard" "(001.000)"
  149. @Font "Courier-Bold": "Standard" "(001.000)"
  150. @Font "Courier-Oblique": "Standard" "(001.000)"
  151. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  152. @Font "Symbol": "Standard" "(001.000)"
  153. @Font "Palatino-Roman": "Standard" "(001.000)"
  154. @Font "Palatino-Italic": "Standard" "(001.000)"
  155. @Font "Palatino-Bold": "Standard" "(001.000)"
  156. @Font "Palatino-BoldItalic": "Standard" "(001.000)"
  157. @Font "AvantGarde-Book": "Standard" "(001.000)"
  158. @Font "AvantGarde-BookOblique": "Standard" "(001.000)"
  159. @Font "AvantGarde-Demi": "Standard" "(001.000)"
  160. @Font "AvantGarde-DemiOblique": "Standard" "(001.000)"
  161. @Font "Bookman-Light": "Standard" "(001.000)"
  162. @Font "Bookman-LightItalic": "Standard" "(001.000)"
  163. @Font "Bookman-Demi": "Standard" "(001.000)"
  164. @Font "Bookman-DemiItalic": "Standard" "(001.000)"
  165. @Font "Helvetica-Narrow": "Standard" "(001.000)"
  166. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.000)"
  167. @Font "Helvetica-Narrow-Bold": "Standard" "(001.000)"
  168. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.000)"
  169. @Font "NewCenturySchlbk-Roman": "Standard" "(001.000)"
  170. @Font "NewCenturySchlbk-Italic": "Standard" "(001.000)"
  171. @Font "NewCenturySchlbk-Bold": "Standard" "(001.000)"
  172. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.000)"
  173. @Font "ZapfChancery-MediumItalic": "Standard" "(001.000)"
  174. @Font "ZapfDingbats": "Standard" "(001.000)"
  175.  
  176.  
  177. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  178. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  179.  
  180. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  181.                 : "Printer “^2” needs attention: paper jam."
  182. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  183.                 : "Printer “^2” needs attention: \Reason\."
  184.  
  185. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  186.                 : "Printer “^2” needs attention: paper jam."
  187. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  188.                 : "Printer “^2” needs attention: \Reason\."
  189.  
  190. @ParameterReason    "no paper tray" :         "no paper tray"
  191. @ParameterReason    "out of paper" :         "out of paper"
  192. @ParameterReason    "cover open" :             "cover open"
  193. @ParameterReason    "warming up" :             "warming up"
  194. @ParameterReason    "service call" :         "service call"
  195. @ParameterReason    "resetting printer" :     "resetting printer"
  196. @ParameterReason    "cover open" :             "cover open"
  197. @ParameterReason    "timeout, clearing printer" : "timeout"
  198. @ParameterReason    "timeout" :             "timeout"
  199. @ParameterReason    "manual feed timeout" :    "manual feed timeout"
  200. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  201.  
  202.  
  203. @Comment: PrinterMessage displays the translation string in the status line.
  204. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  205.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  206. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  207.                 : "Document: \jobname\;  status: \Status\."
  208. @PrinterMessage     "status: \Status\; source: \source\"
  209.                 : "Status: \Status\."
  210. @PrinterMessage     "\Font1\ not found, using \Font2\"
  211.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  212.  
  213. @ParameterStatus     "idle"    : "idle"
  214. @ParameterStatus     "busy"    : "processing job"
  215. @ParameterStatus     "waiting"    : "preparing data"
  216. @ParameterStatus    "printing"    : "printing"
  217.  
  218. @Comment: a null translation string causes no message to display.
  219. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  220.                 : ""
  221. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  222.                 : ""
  223.  
  224. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  225. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  226. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  227.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  228.  
  229. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  230. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  231.                 : "The font being downloaded has not been initialized for this printer."
  232. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  233.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  234. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  235.                 : "The printer had to wait too long, and went on to the next job; try again."
  236. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  237.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  238. @PrinterErrorAlert    "Fatal system error \error\"
  239.                 : "The printer has encountered an error. Simplify your document or try again."
  240.